#!/bin/sh

[ -d /var/lib/partman/backup ] || exit 0

if [ -d /var/lib/partman/devices ]; then
	rm -rf /var/lib/partman/devices
fi

cp -a /var/lib/partman/backup /var/lib/partman/devices
